package com.woniuxy.service;

import com.woniuxy.entity.TRoleMenu;
import com.woniuxy.entity.TWork;
import com.woniuxy.entity.Tr;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;

import java.util.List;

public interface PermissionControlService {
    /**
     * 根据角色对应的科室id查部门
     */
    ResponseData<?> queryTrAllByDepId(PageParam<TWork> pageParam);
    ResponseData<?>updateManage(TWork tWork);
    ResponseData<?> queryByUserIdAndMenuName();
    ResponseData<?> queryAll();
    ResponseData<?> queryAllMenus(Integer userId);
    ResponseData <?> update(TRoleMenu tRoleMenu);
    ResponseData<?> balDel(Integer id);
    ResponseData<?> queryMenuList(Integer userId);
}
